﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace _1025HomeWork
{
    class BlackDog : Dog
    {
        public BlackDog(int _x, int _y)
        {
            X = _x; Y = _y;
            aName = "黑狗";
        }
        public override string SayHello(string _fName)
        {
            return base.SayHello(_fName) + "我是" + aName;
        }
    }
}
